package com.lbs.jiepiaisi.bean;

import com.lbs.jiepiaisi.base.BaseResponseEntity;

import java.io.Serializable;
import java.util.List;

/**
 *
 * 时间：2017/10/17 10:12
 * 作用：单个用户报警信息实体类
 */

public class AlarmBean extends BaseResponseEntity {

    //状态值（0代表成功，1代表失败）
    //private String status;

    //对应的result对象
    private Result result;

//    public String getStatus() {
//        return status;
//    }
//
//    public void setStatus(String status) {
//        this.status = status;
//    }

    public Result getResult() { return result; }
    public void setResult(Result result) {
        this.result = result;
    }

    public static class Result implements Serializable {

        //对应的总items信息(JSONArrary)
        private List<Item> items;

        public List<Item> getItems() {
            return items;
        }

        public void setItems(List<Item> items) {
            this.items = items;
        }

        public static class Item implements Serializable{
            //设备号码
            private String eqNo;
            //告警类型
            private String dicProTitle;
            //告警时间
            private String alTime;
            //告警姓名
            private String ownerName;

            public String getEqNo() {
                return eqNo;
            }

            public void setEqNo(String eqNo) {
                this.eqNo = eqNo;
            }

            public String getDicProTitle() {
                return dicProTitle;
            }

            public void setDicProTitle(String dicProTitle) {
                this.dicProTitle = dicProTitle;
            }

            public String getAlTime() {
                return alTime;
            }

            public void setAlTime(String alTime) {
                this.alTime = alTime;
            }

            public String getOwnerName() {
                return ownerName;
            }

            public void setOwnerName(String ownerName) {
                this.ownerName = ownerName;
            }
        }
    }
}
